projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd9860
)
Only show flyspell welcome message interactively
author
Stefan Kangas
<stefankangas@gmail.com>
Thu, 27 Aug 2020 09:38:00 +0000
(11:38 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Thu, 27 Aug 2020 09:38:47 +0000
(11:38 +0200)
* lisp/textmodes/flyspell.el (flyspell-mode): Only show welcome
message when called interactively. (Bug#43065)
lisp/textmodes/flyspell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/flyspell.el
b/lisp/textmodes/flyspell.el
index f90a128b01c2f1144569598566fe77d592ff1a09..b631b126d5841f876797c491a6edf2d083585763 100644
(file)
--- a/
lisp/textmodes/flyspell.el
+++ b/
lisp/textmodes/flyspell.el
@@
-533,7
+533,7
@@
in your init file.
(progn
(when flyspell-use-mouse-3-for-menu
(flyspell--set-use-mouse-3-for-menu 'flyspell-use-mouse-3-for-menu t))
- (flyspell-mode-on
t
))
+ (flyspell-mode-on
(called-interactively-p 'interactive)
))
(error (message "Error enabling Flyspell mode:\n%s" (cdr err))
(flyspell-mode -1)))
(flyspell-mode-off)))